<?php
include_once("../c/config.php");
$mysqli = new mysqli($dbhost, $dbuser, $dbpwd, $dbName);
if (!$mysqli->set_charset("utf8")) {printf("Error loading character set utf8: %s\n", $mysqliTwo->error);}

if (isset($_GET['id'])){
    $id=$_GET['id'];
}
$sql="UPDATE `ling` SET `thecode` = NULL WHERE `ling`.`id`='".$id."' and jid=5 ";
echo $sql;
echo "<br />";

$mysqli->query($sql);
echo 'done .............';


header('Location: selim.php');

 